//
//  CrossTwoTypesStyle.hpp
//  fingeradvanture
//
//  Created by shuaibincheng on 16/5/29.
//  十字形怪物组对应的风格
//

#ifndef CrossTwoTypesStyle_hpp
#define CrossTwoTypesStyle_hpp
#include "TroopStyle.hpp"
class CrossTwoTypesStyle : public TroopStyle
{
private:
    MonsterType verticality;   //垂直方向的怪物类型
    MonsterType horizontal; //水平方向的怪物类型
public:
    CrossTwoTypesStyle(int num) : TroopStyle(num)
    {
        verticality = MONSTER_UNKNOWN;
        horizontal = MONSTER_UNKNOWN;
    };
    virtual MonsterType next();
protected:
    std::vector<MonsterType> allowMonsterTypesInVetical();  //垂直方向上允许的怪物类型
    std::vector<MonsterType> allowMonsterTypesInHorizontal(); //水平方向上允许的怪物类型
};

#endif /* CrossTwoTypesStyle_hpp */
